<?php
/**
 * Created by PhpStorm.
 * User: 戎大富
 * Date: 2020/9/1
 * Time: 17:38
 */
namespace app\shop\controller;
use think\Db;
use think\Request;
class About extends Base
{

    //企业简介
    public function about1(){
        $agreement = Db::table('up_other')->where('other_id', 9)->value('other_qyjj');
        $this->assign('agreement',$agreement);
        return $this->fetch('affairs/about1');
    }
    //企业精神
    public function about(){
        $agreement = Db::table('up_other')->where('other_id', 10)->value('other_qyjs');
        $this->assign('agreement',$agreement);
        return $this->fetch('affairs/about1');
    }
}